#import "RNStoreDetailHeader.h"
#import "RNAisle.h"
#import "RNConstants.h"

@implementation RNStoreDetailHeader

+(NSArray *)arrayOfHeadersWithRootObject:(id)rootObject filteredWithObject:(id)filterObject inManagedObjectContext:(NSManagedObjectContext *)moc {
    [RNAisle setShowsChildren:NO];
    return [NSArray arrayWithObject:[[self alloc] initWithRootObject:rootObject]];
}

-(id)initWithRootObject:(id)rootObject {
    if (!(self = [super initWithRootObject:rootObject]))
        return nil;
    
    [self setKeyPath:@"aisles"];
    [self setHeaderHeight:RNEmptyHeaderHeight];
    
    return self;
}

@end
